package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.ExpressDic;
import com.ytjj.qmyx.mall.model.ExpressDicExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExpressDicMapper {
    long countByExample(ExpressDicExample example);

    int deleteByExample(ExpressDicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ExpressDic record);

    int insertSelective(ExpressDic record);

    List<ExpressDic> selectByExample(ExpressDicExample example);

    ExpressDic selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ExpressDic record, @Param("example") ExpressDicExample example);

    int updateByExample(@Param("record") ExpressDic record, @Param("example") ExpressDicExample example);

    int updateByPrimaryKeySelective(ExpressDic record);

    int updateByPrimaryKey(ExpressDic record);

    /**
     * 根据快递编号获取快递公司
     */
    ExpressDic selectByCode(String companyCode);
}